const Koa = require('koa');
const app = new Koa();
const {connect,initSchemas} = require('./database/init.js');
;(async()=>{  
    await connect();
    initSchemas();
    require('./tasks/movie.js')
})()
app.use(async(ctx,next)=>{
    ctx.body="hello world"
})
app.listen(8080)